package com.xinqi.common.log.asynclog.enums;

import lombok.Getter;

/**
 * 异步执行状态
 *
 * @author dzy
 */
public enum AsyncStatus {

    /**
     * 成功
     */
    SUCCESS(1, "成功"),

    /**
     * 失败
     */
    FAIL(0, "失败");

    @Getter
    private final int code;

    @Getter
    private final String describe;

    AsyncStatus(int code, String describe) {
        this.code = code;
        this.describe = describe;
    }

}
